<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@page import="com.guoyu.gserv.entity.UserInfo1"%>
<%@ taglib uri="/struts-tags" prefix="s" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'header.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link rel="stylesheet" type="text/css" href="css/mystyle.css" />
	<script type="text/javascript" language="javascript" src="css/my.js"></script>
  </head>
  <body>
  <div>
  	<s:if test="#session['user']!=null">
  		<div align="right" style="width: 800px; margin:  0 auto; ">
  			<table>
  			<tr>
  				<td style="font-size: 10px;"><SPAN><b>${sessionScope.user.userName }</b></SPAN><img src="css/img/hiIcon.gif"/>|<a href="gongxu/usr_getUserInfoById.shtml" target="_blank">我的空间</a>|<a href="gongxu/index.jsp">首页</a>
  					|<a href="gongxu/logout.jsp">退出</a>
  				</td>
  			</tr>
  			</table>
  		</div>
  	</s:if>
  	<s:else>
	  	<div align="right" style="width: 800px; margin:  0 auto;">
	  		<table>
	  			<tr><td style="font-size: 10px;"><a href="gongxu/index.jsp">首页</a>
  					|<a href="gongxu/index.jsp">登录</a></td></tr>
	  		</table>
	  	</div>
  	</s:else>
  	<!-- 导航条 -->
	<div style="width: 800px; margin:  0 auto;">
  		<div class="menu" width="100%" style="height:60px;">
  			<table cellpadding="0" cellspacing="0" width="100%">
  				<tr align="center"  height="30px;" width="100%" style="background-color: #0066CC;color: #FFFFFF;">
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/index.jsp">首页</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/news.jsp">产品</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/gx_getPurvey.shtml?isgx=0&sortId1=0&txtname=""" target="_blank">供应信息</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/gx_getcallList.shtml?isgx=1&sortId=0&txtname=""" target="_blank">需求信息</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/link.jsp">联系我们</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/feedback.jsp">在线反馈</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#0066CC'"><a href="gongxu/bs_help.shtml?basicdata.basicType=1&condition=">帮助</a></td>
  				</tr>
  				<tr align="center" height="30px;" width="100%" style="background-color:#609FFF;color: #FFFFFF;">
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/bs_help.shtml?basicdata.basicType=3&condition=">公司简介</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/newsView.jsp?newtypeId=5">本站服务</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/newsView.jsp?newtypeId=4">文化休闲</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/newsView.jsp?newtypeId=3">热点话题</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/newsView.jsp?newtypeId=2">IT新闻</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/newsView.jsp?newtypeId=1">用户体会</a></td><td>|</td>
  					<td onmousemove="this.style.backgroundColor='#66CCFF'" onmouseout="this.style.backgroundColor='#609FFF'"><a href="gongxu/bs_help.shtml?basicdata.basicType=2&condition=">常见问题</a></td>
  				</tr>
  			</table>
  		</div>
  	</div>
	<div style="height:100px;width: 800px;margin: 0 auto;margin-top: 2px;margin-bottom: 5px;">
	<img src="css/img/index_2.gif" width="800px;" height="140px;"/>
	</div>
  </div>
  </body>
</html>
